package org.esisar.dao;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import org.esisar.model.Model;

public interface StatementCreator {
	
	PreparedStatement addStatement(Connection connection, Model model) throws SQLException;

	PreparedStatement deleteStatement(Connection connection, List<Long> keys) throws SQLException;

	PreparedStatement updateStatement(Connection connection, Model user) throws SQLException;

	PreparedStatement readStatement(Connection connection, String field,String value) throws SQLException;

	Model fillModel(ResultSet rs) throws SQLException;

}
